<?php
/**
 * Created by PhpStorm.
 * User: N
 * Date: 2019/5/31
 * Time: 11:20
 */

namespace app\index\controller;



use think\Db;

class Admin extends Base
{
    public function initialize()
    {
        parent::initialize();
    }

    // 管理员列表
    public function adminList()
    {
        $data = Db::name('admin')->paginate('1');
        $this->assign('data',$data);
        return $this->fetch();
    }
}